package com.example.chcrm.controller;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.chcrm.entity.common.ResponseMsg;
import com.example.chcrm.service.RoleModelsService;
import com.example.chcrm.service.SupplierPortService;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Author 邹
 * @Date 2025/4/18 23:03
 * @Version 1.0
 */
@RestController
@RequestMapping("/sys/supplierPort")
@CrossOrigin // 允许跨域访问
public class SupplierPortController {
    @Autowired
    private SupplierPortService supplierPortService;
    /**
     * 服务港口下拉查询（新）
     * @param
     * @return
     */
    @GetMapping("/publicSelectPort")
    public ResponseMsg<Object> publicSelectPort(){
        return supplierPortService.publicSelectPort();
    }
}
